package org.yxs.excel.service;

import org.yxs.excel.entity.Product;

import java.util.List;

public interface ProductService {

    int add(Product product);

    int update(Product product);

    int deleteById(Integer id);

    Product queryProductById(Integer id);

    List<Product> select(Integer id, Integer size);

    int addList(List<Product> products);

}
